<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>QSculpt: Vertex::VertexIterator Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">QSculpt
   &#160;<span id="projectnumber">0.0.1a</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="class_vertex.html">Vertex</a>      </li>
      <li class="navelem"><a class="el" href="class_vertex_1_1_vertex_iterator.html">VertexIterator</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">Vertex::VertexIterator Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Vertex::VertexIterator" --><!-- doxytag: inherits="IIterator&lt; Vertex &gt;" --><div class="dynheader">
Inheritance diagram for Vertex::VertexIterator:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_vertex_1_1_vertex_iterator.png" usemap="#Vertex::VertexIterator_map" alt=""/>
  <map id="Vertex::VertexIterator_map" name="Vertex::VertexIterator_map">
<area href="class_i_iterator.html" alt="IIterator&lt; Vertex &gt;" shape="rect" coords="0,0,132,24"/>
</map>
 </div></div>

<p><a href="class_vertex_1_1_vertex_iterator-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_i_iterator.html">IIterator</a>&lt; <a class="el" href="class_vertex.html">Vertex</a> &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vertex_1_1_vertex_iterator.html#a73f2f3593d742267006aae5e113f02e5">clone</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vertex_1_1_vertex_iterator.html#a36ef5acfa08f58aaad05913c269de008">hasNext</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vertex_1_1_vertex_iterator.html#abbfd9483a932ee99f2645eaf7f25d8d5">hasPrevious</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vertex.html">Vertex</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vertex_1_1_vertex_iterator.html#a9374d47d833f8749aab6ad1ab83343d9">next</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_vertex.html">Vertex</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vertex_1_1_vertex_iterator.html#ab8b1caf9e0b2aa486e802a38bddae638">next</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vertex.html">Vertex</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vertex_1_1_vertex_iterator.html#a3d887ef49d247cc514a845dee5a16d4c">peekNext</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_vertex.html">Vertex</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vertex_1_1_vertex_iterator.html#ae24dc53d348958aa4138e05b07fda0ba">peekNext</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vertex.html">Vertex</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vertex_1_1_vertex_iterator.html#ad329dd43d382b547b08bdbd55b6eb2c9">previous</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_vertex.html">Vertex</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vertex_1_1_vertex_iterator.html#ae954353c2ef1185b83ec87fe3b82053f">previous</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vertex_1_1_vertex_iterator.html#a5cc750bfc60d8afbc1e64aac1502ab61">seek</a> (int pos, IteratorOrigin origin) const </td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vertex_1_1_vertex_iterator.html#abb9d3ad120c2a1fa0aa3de786caabb34">VertexIterator</a> (<a class="el" href="class_vertex.html">Vertex</a> *v)</td></tr>
<tr><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1251d18f08324022e8e73506c3768f3c"></a><!-- doxytag: member="Vertex::VertexIterator::Vertex" ref="a1251d18f08324022e8e73506c3768f3c" args="" -->
class&#160;</td><td class="memItemRight" valign="bottom"><b>Vertex</b></td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="abb9d3ad120c2a1fa0aa3de786caabb34"></a><!-- doxytag: member="Vertex::VertexIterator::VertexIterator" ref="abb9d3ad120c2a1fa0aa3de786caabb34" args="(Vertex *v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Vertex::VertexIterator::VertexIterator </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_vertex.html">Vertex</a> *&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructor of a vertex iterator. The vertex iterator is only contructed by means of Vertex::vertexIterator() function </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a73f2f3593d742267006aae5e113f02e5"></a><!-- doxytag: member="Vertex::VertexIterator::clone" ref="a73f2f3593d742267006aae5e113f02e5" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_i_iterator.html">IIterator</a>&lt; <a class="el" href="class_vertex.html">Vertex</a> &gt; * Vertex::VertexIterator::clone </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Function to copy iterators of the same type. </p>

<p>Implements <a class="el" href="class_i_iterator.html#a6fdc9a8286cb3fe2d6c9a0edba2fd478">IIterator&lt; Vertex &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a36ef5acfa08f58aaad05913c269de008"></a><!-- doxytag: member="Vertex::VertexIterator::hasNext" ref="a36ef5acfa08f58aaad05913c269de008" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Vertex::VertexIterator::hasNext </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return true if the iterator has more elements (i.e. it is not at the end) </p>

<p>Implements <a class="el" href="class_i_iterator.html#a3110d893d8f9b57c221d76c058675e76">IIterator&lt; Vertex &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="abbfd9483a932ee99f2645eaf7f25d8d5"></a><!-- doxytag: member="Vertex::VertexIterator::hasPrevious" ref="abbfd9483a932ee99f2645eaf7f25d8d5" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Vertex::VertexIterator::hasPrevious </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns true if the iterator is not at the beginning of the iteration </p>

<p>Implements <a class="el" href="class_i_iterator.html#aeaf6228da3ecdbe4609f78dea914b49d">IIterator&lt; Vertex &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a9374d47d833f8749aab6ad1ab83343d9"></a><!-- doxytag: member="Vertex::VertexIterator::next" ref="a9374d47d833f8749aab6ad1ab83343d9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vertex.html">Vertex</a> &amp; Vertex::VertexIterator::next </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the next element and advance the iterator by one. </p>

<p>Implements <a class="el" href="class_i_iterator.html#abbc47bcea2f56611ce96320d4b6480f5">IIterator&lt; Vertex &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="ab8b1caf9e0b2aa486e802a38bddae638"></a><!-- doxytag: member="Vertex::VertexIterator::next" ref="ab8b1caf9e0b2aa486e802a38bddae638" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_vertex.html">Vertex</a> &amp; Vertex::VertexIterator::next </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the next element and advance the iterator by one. </p>

<p>Implements <a class="el" href="class_i_iterator.html#a0c2459853cce490f8cc536feebc89589">IIterator&lt; Vertex &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a3d887ef49d247cc514a845dee5a16d4c"></a><!-- doxytag: member="Vertex::VertexIterator::peekNext" ref="a3d887ef49d247cc514a845dee5a16d4c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vertex.html">Vertex</a> &amp; Vertex::VertexIterator::peekNext </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the next element and advance the iterator by one. </p>

<p>Reimplemented from <a class="el" href="class_i_iterator.html#a638bdae1c3dc3f9f40b8be869b7e65a6">IIterator&lt; Vertex &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="ae24dc53d348958aa4138e05b07fda0ba"></a><!-- doxytag: member="Vertex::VertexIterator::peekNext" ref="ae24dc53d348958aa4138e05b07fda0ba" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_vertex.html">Vertex</a> &amp; Vertex::VertexIterator::peekNext </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the next element and advance the iterator by one. </p>

<p>Reimplemented from <a class="el" href="class_i_iterator.html#a488527e793d7ae1aa823cd7faf0f01b5">IIterator&lt; Vertex &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="ad329dd43d382b547b08bdbd55b6eb2c9"></a><!-- doxytag: member="Vertex::VertexIterator::previous" ref="ad329dd43d382b547b08bdbd55b6eb2c9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vertex.html">Vertex</a> &amp; Vertex::VertexIterator::previous </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the previous elements and move the iterator one position backwards. </p>

<p>Implements <a class="el" href="class_i_iterator.html#a89c5545b5224e7c8b347da9325c44f9d">IIterator&lt; Vertex &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="ae954353c2ef1185b83ec87fe3b82053f"></a><!-- doxytag: member="Vertex::VertexIterator::previous" ref="ae954353c2ef1185b83ec87fe3b82053f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_vertex.html">Vertex</a> &amp; Vertex::VertexIterator::previous </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the previous elements and move the iterator one position backwards. </p>

<p>Implements <a class="el" href="class_i_iterator.html#a1af7377b236bea36468b0cfa96c764a8">IIterator&lt; Vertex &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a5cc750bfc60d8afbc1e64aac1502ab61"></a><!-- doxytag: member="Vertex::VertexIterator::seek" ref="a5cc750bfc60d8afbc1e64aac1502ab61" args="(int pos, IteratorOrigin origin) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Vertex::VertexIterator::seek </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IteratorOrigin&#160;</td>
          <td class="paramname"><em>origin</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the current position to pos relative to origin.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pos</td><td>number of elements to jump relative to origin </td></tr>
    <tr><td class="paramname">origin</td><td>states the reference to jump. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="class_i_iterator.html#a6996f0cd1b32bb80e36b130b7b242b8a">IIterator&lt; Vertex &gt;</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>engine/src/Vertex.cpp</li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Sat Aug 27 2011 15:38:53 for QSculpt by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
